<template>
  <div class="closeAccountFail">
    <u-nav-bar :title="'注销账户'" />
    <div class="closeAccountFail__ct">
      <img src="@/assets/image/mine/closeAccount/fail.png" />
      <div class="title first__title">抱歉，由于以下原因，账号无法注销</div>
      <div class="message">
        <div class="text">账户有未完成的运单</div>
        <div class="text">钱包中有余额</div>
      </div>
      <div class="memo">
        如有疑问，请拨打客服电话
        <span>400-835-8305</span>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import uNavBar from '@/components/NavBar.vue'
export default defineComponent({
  name: 'CloseAccountFail',
  components: {
    'u-nav-bar': uNavBar
  },
  // 只注重主流程的执行，不同业务的函数拆分出去，业务逻辑清晰明了
  setup() {
    /** 事件专区 */
    return {}
  }
})
</script>
<style lang="scss" scoped>
@import '@/style/variables.scss';
@import '@/style/mixins.scss';
.closeAccountFail {
  @include flex-cloumn-width-height-100;
  background-color: $background-color-base;
  &__ct {
    @include flex-scroll-content-pd(24px 12px 0 12px);
    img {
      width: 60px;
      height: 60px;
      display: block;
      margin: 30px auto 24px auto;
    }
    .title {
      font-size: 14px;
      font-weight: 500;
      color: #101736;
      line-height: 20px;
      text-align: center;
    }
    .message {
      background-color: white;
      border-radius: 8px;
      box-sizing: border-box;
      padding: 0px 10px;
      margin: 30px 0;
      .text {
        padding: 15px 0;
        font-size: 14px;
        font-weight: 400;
        color: #101736;
        line-height: 20px;
      }
      .text:nth-child(1) {
        border-bottom: 1px solid #ededed;
      }
    }
    .memo {
      background-color: white;
      width: 100%;
      height: 50px;
      line-height: 50px;
      border-radius: 8px;
      box-sizing: border-box;
      padding: 0 10px;
      font-size: 14px;
      font-weight: 400;
      color: #575c72;
      span {
        color: #101736;
        font-weight: 500;
      }
    }
  }
}
</style>
